import { defineConfig } from 'umi';
import routes from './router';

export default defineConfig({
  routes,
  antd: {},
  request: {},
  layout: {
    name: 'e店邦O2O平台',
  },
  proxy: {
    '/api': {
      target: 'http://xue.cnkdl.cn:23683',
      changeOrigin: true,
      pathRewrite: { '^/api': '' },
    },
  },
});
